using System;
using FytSoa.Common.Utils;
using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace FytSoa.Application.Erp;

/// <summary>
/// erp-操作记录表
/// </summary>
public class ErpOperateLogDto : AppEntity
{
    /// <summary>
    /// 操作类型编号
    /// </summary>
    [Required]
    public long OperateId { get; set; }
    
    /// <summary>
    /// 操作多个
    /// </summary>
    public List<long> OperateIds { get; set; } = new();

    /// <summary>
    /// 类型值
    /// </summary>
    [Required]
    public int Type { get; set; } = 1;

    /// <summary>
    /// 操作内容
    /// </summary>
    public string Remark { get; set; }

    /// <summary>
    /// 创建人
    /// </summary>
    public string CreateUser { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    [Required]
    public DateTime CreateTime { get; set; } = DateTime.Now;


}